package first.nets;


import java.util.List;
import java.util.ArrayList;

import first.users.Reader;


public class ReaderNetwork 
{
	
	/**
	 * Name of ReaderNetwork
	 */
	private String nameRNet;
	
	/**
	 * Description of ReaderNetwork
	 */
	private String descrRNet;
	
	/**
	 * ID of ReaderNetwork
	 */
	private Integer idReaderNet;
	
	/**
	 * ID of Library
	 */
	private Integer idLibrary;
	
	/**
	 * List of Reader in Network 
	 */
	private List<Reader> listReaderNet;
		
	
	/**
	 * Constructor of class that creates network of library readers  
	 *   
	 * */
	public ReaderNetwork()
	{
		this.setNameRNet("Default");
		this.setListReaderNet(new ArrayList<Reader>()); 		
	}


	/**
	 * @param nameRNet the nameRNet to set
	 */
	public void setNameRNet(String nameRNet) {
		this.nameRNet = nameRNet;
	}


	/**
	 * @return the nameRNet
	 */
	public String getNameRNet() {
		return nameRNet;
	}


	/**
	 * @param listReaderNet the listReaderNet to set
	 */
	public void setListReaderNet(List<Reader> listReaderNet) {
		this.listReaderNet = listReaderNet;
	}


	/**
	 * @return the listReaderNet
	 */
	public List<Reader> getListReaderNet() {
		return listReaderNet;
	}


	public void setIdReaderNet(Integer idReaderNet) {
		this.idReaderNet = idReaderNet;
	}


	public Integer getIdReaderNet() {
		return idReaderNet;
	}


	public void setDescrRNet(String descrRNet) {
		this.descrRNet = descrRNet;
	}


	public String getDescrRNet() {
		return descrRNet;
	}


	public void setIdLibrary(Integer idLibrary) {
		this.idLibrary = idLibrary;
	}


	public Integer getIdLibrary() {
		return idLibrary;
	}
	

}
